#chatbox {
  width: 100%;
  height: 100%;
  display: flex;
  background: #fff;
  border-radius: 0 10px 0 0;
  -webkit-app-region: no-drag;
}
#chatbox .chatbox {
  position: relative;
  width: 0;
  flex-grow: 100;
  display: flex;
  flex-direction: column;
}
#chatbox .chatbox .opensidebar {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  right: 0;
  width: 12px;
  height: 140px;
  line-height: 140px;
  text-align: center;
  background: #a8d3ff;
  z-index: 9999;
  border-radius: 5px 0 0 5px;
  cursor: pointer;
  opacity: 0;
  transition: all 0.2s;
}
#chatbox .chatbox .opensidebar i {
  font-size: 12px;
}
#chatbox .chatbox .opensidebar:hover {
  opacity: 1;
}
#chatbox .chatbox .opensidebar.active i {
  transform: scaleX(-1);
}
#chatbox .chatbox.opensidebar {
  flex-grow: 72;
}
#chatbox .chatbox .top {
  flex-basis: 39px;
  flex-shrink: 0;
  height: 0;
  border-bottom: 1px solid #f0f0f0;
  padding: 0 10px;
}
#chatbox .chatbox .top .name {
  font-size: 16px;
  font-weight: 600;
  line-height: 39px;
  user-select: text;
}
#chatbox .chatbox .top .name span {
  font-size: 12px;
  line-height: 24px;
  padding-left: 10px;
  color: #999;
  font-weight: 400;
  user-select: none;
}
#chatbox .chatbox .chat {
  flex-grow: 1;
  height: 0;
  -webkit-app-region: no-drag;
}
#chatbox .chatbox .chat .chat_list {
  height: 100%;
  overflow: hidden;
}
#chatbox .chatbox .toolsbar {
  height: 30px;
  margin-top: 5px;
  padding: 0 10px;
}
#chatbox .chatbox .toolsbar .item {
  width: 25px;
  height: 25px;
  text-align: center;
  line-height: 25px;
  font-size: 24px;
  cursor: pointer;
}
#chatbox .chatbox .toolsbar .item:hover {
  font-weight: 600;
}
#chatbox .chatbox .toolsbar .ivu-poptip-popper[x-placement=top-start] .ivu-poptip-arrow {
  left: 6px;
}
#chatbox .chatbox .toolsbar .facelist {
  display: flex;
  flex-wrap: wrap;
  width: calc(390px);
}
#chatbox .chatbox .toolsbar .facelist .img {
  width: 26px;
  height: 26px;
  font-size: 0;
  cursor: pointer;
}
#chatbox .chatbox .toolsbar .facelist .img:hover {
  background: #ddd;
}
#chatbox .chatbox .toolsbar .facelist .img img {
  margin: 1px;
}
#chatbox .chatbox .btn_list {
  height: 30px;
  display: flex;
  padding: 0 5px;
  justify-content: flex-end;
  align-items: center;
}
#chatbox .chatbox .btn_list .send {
  height: 25px;
  background: #0f85ff;
  color: #fff;
  border: none;
  line-height: 25px;
  width: 70px;
  cursor: pointer;
  outline: none;
}
#chatbox .chatbox .btn_list .send:active {
  opacity: 0.8;
}
#chatbox .chatbox .btn_list span {
  padding: 0 10px;
  font-size: 12px;
  color: #999;
}
#chatbox .userinfo {
  width: 0;
  flex-grow: 0;
  border-left: 1px solid #dcdee2;
  overflow: hidden;
  border-radius: 0 10px 0 0;
  display: flex;
  flex-direction: column;
}
#chatbox .userinfo.opensidebar {
  flex-grow: 28;
  min-width: 200px;
  max-width: 260px;
}
#chatbox .userinfo .top {
  display: flex;
  justify-content: space-around;
  flex-shrink: 0;
  padding: 10px 20px;
  border-radius: 0 10px 0 0;
}
#chatbox .userinfo .top .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  -webkit-app-region: no-drag;
  opacity: 0.5;
  cursor: pointer;
}
#chatbox .userinfo .top .item.active {
  opacity: 1;
}
#chatbox .userinfo .top .item .icon {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  border-radius: 50%;
}
#chatbox .userinfo .top .item .icon i {
  font-size: 24px;
}
#chatbox .userinfo .top .item:nth-child(1) .icon {
  background: #fdad0f;
}
#chatbox .userinfo .top .item:nth-child(2) .icon {
  background: #0f85ff;
}
#chatbox .userinfo .top .item span {
  color: #525252;
  white-space: nowrap;
}
#chatbox .userinfo .contbox {
  flex-grow: 1;
  display: none;
  overflow: hidden;
  overflow-y: auto;
}
#chatbox .userinfo .contbox.active {
  display: block;
}
#chatbox .userinfo .contbox.used_reply {
  width: 100%;
  height: 100%;
  -webkit-app-region: no-drag !important;
}
#chatbox .userinfo .contbox.used_reply .ivu-collapse-header {
  height: 24px;
  line-height: 24px;
  padding-left: 5px;
}
#chatbox .userinfo .contbox.used_reply .ivu-collapse-header .ivu-icon {
  font-size: 18px;
  margin-right: -5px;
  position: relative;
  top: -1px;
}
#chatbox .userinfo .contbox.used_reply .ivu-collapse-content {
  padding: 0 5px;
}
#chatbox .userinfo .contbox.used_reply .ivu-collapse {
  border: none;
}
#chatbox .userinfo .contbox.used_reply .ivu-collapse .ivu-collapse-item {
  border: 0;
}
#chatbox .userinfo .contbox.used_reply .ivu-collapse .ivu-collapse-item .ivu-collapse-content-box {
  padding: 0;
}
#chatbox .userinfo .contbox.used_reply .reply_item {
  background: #f5f5f5;
  margin: 5px;
  padding: 5px;
  border: 1px solid #0f85ff;
  border-color: #f5f5f5 #f5f5f5 #f5f5f5 #0f85ff;
  border-width: 1px 1px 1px 6px;
  border-radius: 4px;
  cursor: pointer;
}
#chatbox .userinfo .contbox.used_reply .reply_item .ivu-tooltip {
  width: 100%;
}
#chatbox .userinfo .contbox.used_reply .reply_item .text {
  display: flex;
  width: 100%;
  max-height: 40px;
  align-items: center;
}
#chatbox .userinfo .contbox.used_reply .reply_item .text p {
  width: 0;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
#chatbox .userinfo .contbox.used_reply .reply_item .text .opt {
  width: 14px;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#chatbox .userinfo .contbox.used_reply .reply_item .text .opt i {
  display: block;
  width: 14px;
  line-height: 1.2em;
  text-align: center;
  font-size: 12px;
  color: #0f85ff;
}
#chatbox .userinfo .contbox.used_reply .reply_item .text .opt i:hover {
  font-weight: 600;
}
#chatbox .userinfo .contbox.used_reply .reply_item .text .opt i:nth-child(1) {
  font-size: 8px;
  position: relative;
  top: -2px;
  right: -2px;
}
#chatbox .userinfo .contbox.used_reply .reply_item:hover {
  border-color: #0f85ff;
}
#chatbox .userinfo .contbox.used_reply .add {
  border: 1px solid #0f85ff;
  margin: 10px 5px;
  padding: 3px 5px;
  text-align: center;
  color: #0f85ff;
  cursor: pointer;
}
#chatbox .userinfo .contbox.user_info {
  text-align: center;
}
#chatbox .userinfo .contbox.user_info .user_tag {
  display: none;
}
#chatbox .userinfo .contbox.user_info .heade {
  display: flex;
  justify-content: center;
  padding: 10px;
}
#chatbox .userinfo .contbox.user_info .heade img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  box-shadow: 0px 4px 20px rgba(86, 93, 114, 0.781);
}
#chatbox .userinfo .contbox.user_info .name {
  text-align: center;
  font-size: 18px;
}
#chatbox .userinfo .contbox.user_info .name .sex {
  color: #fff;
  background: red;
  font-size: 14px;
  padding: 0 10px;
  border-radius: 10px;
  display: inline-block;
  transform: scale(0.7);
  position: relative;
  top: -1px;
  left: -5px;
}
#chatbox .userinfo .contbox.user_info .name .sex[type="1"] {
  background: #4282ee;
}
#chatbox .userinfo .contbox.user_info .name .sex[type="2"] {
  background: #f14965;
}
#chatbox .userinfo .contbox.user_info .info {
  display: inline-block;
  text-align: left;
}
#chatbox .userinfo .contbox.user_info .info p::before {
  content: "·";
  padding-right: 5px;
  font-weight: 600;
}
#chatbox .userinfo .contbox.user_info .tags {
  margin: 5px;
  border: 1px solid #efefef;
  padding: 5px;
}
#chatbox .userinfo .contbox.user_info .tags .tit {
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  width: 100%;
}
#chatbox .userinfo .contbox.user_info .tags .tit span {
  color: #0f85ff;
  cursor: pointer;
}
#chatbox .userinfo .contbox.user_info .tags .tit span i {
  font-size: 16px;
  font-weight: 600;
  position: relative;
  top: -2px;
}
#chatbox .userinfo .contbox.user_info .tags .list {
  text-align: center;
  padding: 5px 0 0;
  overflow: hidden;
  background: #fff;
  max-height: 136px;
}
#chatbox .userinfo .contbox.user_info .tags .list.active {
  max-height: auto;
}
#chatbox .userinfo .contbox.user_info .tags .list .item {
  cursor: pointer;
  margin: 5px;
  display: inline-block;
  border-radius: 50px;
  height: 18px;
  line-height: 16px;
  font-size: 12px;
  text-align: left;
}
#chatbox .userinfo .contbox.user_info .tags .list .item b {
  color: #fff;
  display: inline-block;
  min-width: 16px;
  height: 16px;
  text-align: center;
  line-height: 16px;
  border-radius: 50%;
}
#chatbox .userinfo .contbox.user_info .tags .list .item span {
  padding: 0 10px 0 5px;
}
#chatbox .userinfo .contbox.user_info .tags .list .more {
  height: 30px;
  line-height: 30px;
}
#chatbox .userinfo .contbox.user_info .tags .list .more i {
  font-size: 20px;
  display: inline-block;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
}
#chatbox .userinfo .contbox.user_info .tags .list .more.active i {
  transform: scaleY(-1);
}
#chatbox .userinfo .contbox.user_info .extra {
  padding: 0 10px 10px;
}
#chatbox .userinfo .contbox.user_info .extra .tit {
  font-size: 16px;
}
#chatbox .userinfo .contbox.user_info .extra .input {
  display: flex;
  margin: 5px 0;
}
#chatbox .userinfo .contbox.user_info .extra .input span {
  flex-shrink: 0;
}
#chatbox .userinfo .contbox.user_info .extra .input input {
  flex-grow: 1;
  outline: none;
  margin-left: 5px;
  width: 100%;
}
#chatbox .userinfo .contbox.user_info .extra .input textarea {
  flex-grow: 1;
  outline: none;
  margin-left: 5px;
}
#chatbox .ivu-split-wrapper .ivu-split-trigger-horizontal {
  border-bottom: none;
  background: none;
}
#chatbox .ivu-split-wrapper .ivu-split-trigger-horizontal .ivu-split-trigger-bar-con {
  display: none;
}
#chatbox .ivu-split-wrapper .demo-split-pane {
  height: 100%;
}
.all_chatlog .top {
  padding: 5px;
}
.all_chatlog .top .tags {
  margin: 5px;
}
.all_chatlog .group {
  padding: 15px 5px 5px;
  border-radius: 5px;
  border: 1px solid #dcdee2;
  position: relative;
  margin: 10px 0;
}
.all_chatlog .group .tit {
  position: absolute;
  top: -8px;
  left: 10px;
  height: 12px;
  padding: 1px 5px;
  background: #fff;
}
.all_chatlog .group .item {
  margin: 5px;
}
